home *** CD-ROM | disk | FTP | other *** search
- DBEDIT.COM
- Version 1.00
- Wes Davis, 2/86
-
-
-
- DBEDIT.COM is a command line editor for dBASE III. It allows more
- flexible editing than dBASE's line editor and provides the ability to
- recall the last few commands for editing and re-execution. DBEDIT
- serves the same function for dBASE that DOSEDIT does for DOS. In fact,
- the similarity to DOSEDIT is intentional, and the edit key functions of
- DBEDIT are nearly identical to DOSEDIT's.
-
- DBEDIT was originally written to function with dBASE III. Users of
- dBASE III+ will not need DBEDIT, because the history command provides
- the same function. DBEDIT has been tested with dBASE III version 1. I
- purchased my copy of dBASE III Prolocked and it has had the Prolock
- code removed, but I believe that DBEDIT will work with all of the copy
- protected versions of dBASE. Only a color graphics adapter and color
- monitor have been tested.
-
- DBEDIT's command holding buffer is 2k bytes. Commands are stored in the
- buffer at the current buffer pointer position. The current buffer
- position is after the last entered command, unless the buffer movement
- control(up arrow or down arrow) is used. These keys leave the buffer
- pointer positioned before the displayed command. Before each command
- is entered into the buffer, the buffer is packed to free the maximum
- space and delay overwriting saved commands. It is possible to insert
- commands between previously entered commands. If no change is made to
- a command, it is not duplicated into the holding buffer.
-
- To use DBEDIT, type DBEDIT at the command prompt after setting the
- default directory to the directory that contains DBASE.EXE. DBEDIT
- will load and execute dBASE, remaining resident only during dBASE's
- execution. Command line arguments can be given to DBEDIT just as if it
- were dBASE, and the command line will be passed to dBASE.
-
- Invoking the program can be made seamless to the casual user by
- renaming it DBASE.COM. DBEDIT will be then started by typing DBASE at
- the DOS prompt. Because DOS will load a .COM program preferentially to
- a program with any other extention, DBEDIT will be loaded and then will
- load DBASE.EXE and execute it.
-
- After DBEDIT loads and starts dBASE, there will be no difference in the
- appearance of the screen, but at the dBASE prompt (". ") it will be
- possible edit the command more easily. The following keys will become
- active:
-
- home moves cursor to beginning of line
- end moves cursor to end of line
- left arrow moves cursor one space left
- right arrow moves cursor one space right
- escape clears the line
- ctrl home deletes from cursor to the beginning of the line
- ctrl end deletes from the cursor to the end of the line
- ctrl left arrow moves to the beginning of the previous word
- ctrl right arrow moves to the beginning of the next word
- backspace deletes the character to the left of the cursor
- delete deletes the character at the cursor
- ins toggles insert/overwrite mode
- up arrow moves backward in the command holding buffer
- down arrow moves forward in the command holding buffer
- ctrl PgDn removes displayed command from the holding buffer
- ctrl PgUp clears the holding buffer
- alt= enters/exits full screen buffer edit mode (CGA only)
- ctrl enter exits alt= mode and submits command to dBASE
- ctrl S deletes the character to the left of the cursor
- ctrl U clears the line
- ctrl X clears the line
-
-
- Alt= mode is invoked by the alt= key. The same key combination exits
- alt= mode and returns to the dBASE screen. Alt= mode is available only
- on systems equipped with a color graphics adapter. When invoked, it
- presents the command holding buffer and allows the use of the editing
- keys to modify the commands stored in the buffer. The buffer is
- circular and if the cursor is moved up, the next command in the buffer
- is displayed, even if it is already displayed at the bottom of the
- screen. When the enter key is struck in this mode, the current line is
- entered into the buffer (if it has been altered) but the command is not
- submitted to dBASE. The ctrl enter key will exit alt= mode and submit
- the current command to dBASE. The ctrl enter has the same effect as
- enter in normal mode.
-
-
- The use of the function keys is unaffected.
-
- Command lines of up to 252 characters are possible. Only eighty
- characters will be displayed, with the remainder of the line scrolled
- off the display to the left or the right. When the command is returned
- to dBASE (enter key), dBASE will wrap the line and may generate several
- lines.
-
- If DBEDIT.COM is in the DBASE default directory, the command holding
- buffer will be stored upon exit from dBASE. When DBEDIT is next
- executed, the commands will be restored to the buffer.
-
-
- Caution:
- DBEDIT recognizes that dBASE is in command entry mode by the ". "
- prompt that dBASE uses. If the prompt is changed, DBEDIT cannot figure
- out that dBASE is in command entry mode, and will not become active.
- For the same reason, displaying a "." in column 1 and a space in column
- 2, then positioning the cursor in column 3 and reading a character will
- fool DBEDIT into becoming active. This will hopefully not be a serious
- problem, but I am warning you now.
-
-
- I can be reached on the Atlanta bulletin boards PC Forum (404 294-0237) or
- PCUG (404 433-0062).